package com.example.ivideo_2211a.fyt

import com.example.ivideo_2211a.model.FtyTopeEntity
import retrofit2.Response
import retrofit2.http.GET


import retrofit2.http.Query

interface FytApi {
    @GET("videotype/getSimpleType")
    suspend fun getSimpleType(): Response<FytTopEntity>

    @GET("videosimple/getSimpleVideoByChannelId")
    suspend fun getSimpleVideoByChannelId(
        @Query("channelId") channelId: String,
        @Query("page") page: Int,
        @Query("pagesize") pageSize: Int
    ): Response<FytListEntity>
}


